package com.financing.wap.dao.impl;

import java.sql.SQLException;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IUserTrackingDao;
import com.financing.wap.dto.UserTrackingDTO;
import org.springframework.stereotype.Repository;

@Repository("userTrackingDaoImpl")
public class UserTrackingDaoImpl extends BaseDaoImpl<UserTrackingDTO, java.lang.Integer> implements IUserTrackingDao {

	@Override
	public int addUserTracking(UserTrackingDTO dto) throws SQLException{
		return (Integer) this.sqlMapClientTemplate.insert(SqlName.ADD_USER_TRACKING,dto);
	}

	@Override
	public Class<UserTrackingDTO> getEntityClass() {
		return UserTrackingDTO.class;
	}



}
